package com.nnxy.worktostudy.system.service;

import com.nnxy.worktostudy.system.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author luye
 * @since 2021-09-26
 */
public interface AdminService extends IService<Admin> {
    /**
     * 根据用户名查找用户
     * @param username username
     * @return Admin
     */
    Admin selectByUsername(String username);
}
